/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.crm.logistic.remote.RemoteUserDetail
   Module Description   :

   Date Created      : 2011/5/3
   Original Author   : cut7man
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.crm.logistic.remote;

import com.yaodian100.core.admin.entity.UserDetails;

/**
 * @author cut7man
 * 
 */
public class RemoteUserDetail extends UserDetails {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** default constructor */
	public RemoteUserDetail(String username) {
		super(username);
		// TODO Auto-generated constructor stub
	}

	private GrantedAuthorityImpl[] authorities;

	/**
	 * @return the authorities
	 */
	@Override
	public GrantedAuthorityImpl[] getAuthorities() {
		return authorities;
	}

	/**
	 * @param authorities the authorities to set
	 */
	public void setAuthorities(GrantedAuthorityImpl[] authorities) {
		this.authorities = authorities;
	}

}
